﻿using System.Configuration;

namespace Kratos.Framework.Configurations
{
    public class KratosConfigurationSection : ConfigurationSection
    {
        [ConfigurationProperty("data-provider")]
        public KratosDataProviderConfigurationElementCollection DataProviders
        {
            get { return this["data-provider"] as KratosDataProviderConfigurationElementCollection; }
            set { this["data-provider"] = value; }
        }

        [ConfigurationProperty("modules")]
        public KratosModuleConfigurationElementCollection Modules
        {
            get { return this["modules"] as KratosModuleConfigurationElementCollection; }
            set { this["modules"] = value; }
        }
    }
}
